import axios from "axios";
import environment from "/environment";


const request = axios.create({
  baseURL: environment,
  timeout: 10000,
  headers: { "X-Custom-Header": "foobar" },

  withCredentials: true, // 允许携带cookie
});


export default request;
